<template>
  <div class="hello">
<!--    <el-menu default-active="1-4-1" class="el-menu-vertical-demo" @open="handleOpen" @close="handleClose" :collapse="isCollapse">-->
<!--      <el-menu-item index="2">-->
<!--        <span slot="title">导航一</span>-->
<!--      </el-menu-item>-->
<!--      <el-menu-item index="2">-->
<!--        <span slot="title">导航二</span>-->
<!--      </el-menu-item>-->
<!--      <el-menu-item index="3">-->
<!--        <span slot="title">导航三</span>-->
<!--      </el-menu-item>-->
<!--      <el-menu-item index="4">-->
<!--        <span slot="title">导航四</span>-->
<!--      </el-menu-item>-->
<!--    </el-menu>-->


  </div>
</template>

<script>
export default {
  name: 'HelloWorld',
  props: {
    msg: String
  },
  created(){
    //发送请求
  },
  methods: {
    handleOpen(key, keyPath) {
      console.log(key, keyPath);
    },
    handleClose(key, keyPath) {
      console.log(key, keyPath);
    }
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>

  .el-menu-vertical-demo:not(.el-menu--collapse) {
    width: 100px;
    min-height: 400px;
  }

</style>
